/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.unilearn.submission;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author DidierLeung
 */
@Remote
public interface SubmissionSessionRemote
{
    Integer addSubmission(Submission s);
    void updateSubmission(Submission s);
    List<Submission> getAllSubmission();
    List<Submission> getUnMarkedSubmission();
    Submission getSubmission(Integer id);
    Submission getSubmission(String studentID, String assignmentNo, String subjectCode);
    Integer getNextSubmissionNo();
    Integer isAlreadySubmitted(String assignmentNo, String subjectCode, String simsId);
    void updateSubmission(String studentID, String assignmentNo, 
                                String subjectCode, String detailFileURL, double result);
    
}
